import 'package:json_annotation/json_annotation.dart';

part 'home_news.g.dart';

@JsonSerializable()
class HomeNewsModel {
  HomeNewsModel();

  late String id;
  late String avater;
  late String name;
  late String look_count;
  late String time;

  factory HomeNewsModel.fromJson(Map<String, dynamic> json) =>
      _$HomeNewsModelFromJson(json);
  Map<String, dynamic> toJson() => _$HomeNewsModelToJson(this);
}
